import { request } from 'umi';
/** 获取当前的用户 GET /api/currentUser */

export async function all(options) {
  return request('/api/area/all', {
    method: 'GET',
    params: {...options}
    // ...(options || {}),
  });
}